export myDate="20101020"
export bizdate=$myDate

Last1Day=`date -d "-1 days $myDate" +%Y%m%d`

pro_name="#RPM_TAG_NAME"
dir_pro="#RPM_PROJECT_DIR"

#add "set -x" to a file
function add_setx()
{
    s_path=$1
    pa=`grep "set -x" $1` 
    if [ -z "$pa" ]
    then
          f_cmd_run "$sudo sed -i '2aset -x' $1"
    fi  
}

